package com.li.injection.cycleinjection;

/**
 * @author LiDong
 * @version 1.0.0
 * @className StudentA.java
 * @createTime 2021年08月22日 20:28:00
 */
public class StudentB {

    private String id;
    private String name;
    private StudentA studentA;


    public StudentB(String id, String name, StudentA studentA) {
        this.id = id;
        this.name = name;
        this.studentA = studentA;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
